using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class BeatScrollor : MonoBehaviour
{
    public float beatTempo;
    public bool isStart = false;

    void Start()
    {
        beatTempo = beatTempo / 60;
    }

    void Update()
    {
        if (!isStart)
        {
            isStart = true;
        }
        else
        {
            transform.position += new Vector3(0, -beatTempo * Time.deltaTime, 0f);
        }
    }
}
